MaterialShapeDrawableViewPathProvider

An implementation of ViewPathProvider that tries to set the Path from a MaterialShapeDrawable in the target's background.

If a MaterialShapeDrawable cannot be found, the Path is left unchanged.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getPath(view: View, path: Path)

Called whenever the target View's shape cannot be determined internally.